package com.system.service.Impl;

import com.system.dao.AdminMapper;
import com.system.domain.Admin;
import com.system.service.AdminLogin;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("admin")
public class AdminLoginImpl  implements AdminLogin {
    @Autowired
  private AdminMapper adminMapper;


    @Override
    public Admin select(String username, String password) {
        System.out.println(username+password);
        return adminMapper.select(username, password);
    }
}
